home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / tcclib.exe / NPRINTFA.C < prev    next >
Encoding:
C/C++ Source or Header  |  1989-07-18  |  253 b   |  16 lines

  1. void SayA( int attrib, char *s );
  2.  
  3. #include <stdio.h>
  4.  
  5. void NPrintFA( int num, int attrib, char *fmt, ... )
  6. {
  7.     char s[240];
  8.     va_list ap;
  9.  
  10.     va_start( ap, format );
  11.     vsprintf( s, fmt, ap );
  12.     va_end( ap );
  13.     s[num] = 0;
  14.     SayA( attrib, s );
  15. }
  16.